package com.wander.patterns.structure.proxy.staticProxy;

/**
 * @description: 静态代理客户端
 * @author: zhuyong
 * @create: 2019-09-03 16:39
 **/
public class Client {
    public static void main(String[] args) {
        Star star = new RealStar();
        ProxyStar proxyStar = new ProxyStar();

        proxyStar.setStar(star);

        proxyStar.sing();

    }
}
